package com.blt.govdata.service.impl;

import com.baomidou.mybatisplus.plugins.Page;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.blt.govdata.mapper.TProjectYearMapper;
import com.blt.govdata.model.TProjectYear;
import com.blt.govdata.model.vo.TProjectYearVo;
import com.blt.govdata.service.ITProjectYearService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * <p>
 * 服务实现类
 * </p>
 * @author AustinGJ123
 * @since 2018-03-26
 */
@Service
public class TProjectYearServiceImpl extends ServiceImpl<TProjectYearMapper, TProjectYear> implements ITProjectYearService {

    @Autowired
    private TProjectYearMapper mapper;

    public TProjectYearVo selectVoById(String id) throws Exception {
        return null;
    }

    public Page<TProjectYearVo> selectVoPage(Map<String, Object> paramMap) throws Exception {
        //todo
        return null;
    }

    @Override
    public Page<Map<String, Object>> selectProjectYearByPage(Page page, Map<String, Object> paramMap) {
        return this.mapper.selectProjectYearByPage(page,paramMap);
    }
}
